LINUX CONFIG SOP

Please use the official/pure version of linux.

  1. Disable mi and mhal module in project\release\customer_tailor\nvr_i2m_display_glibc_tailor.mk;

  2. Delete all the mi module in project\release\nvr\i2m\common\glibc\8.2.1\modules\4.9.84\.mods_depend

  3. Delete mhal module in project\release\nvr\i2m\common\glibc\8.2.1\modules\4.9.84\misc_mod_list

  4. Delete fbdev module in project\release\nvr\i2m\common\glibc\8.2.1\modules\4.9.84\misc_mod_list_late

  5. Delete the mi module marked in the figure in project\image\configs\i2m\rootfs.mk

  6. Delete sdk related bin marked in the figure in project\image\configs\i2m\rootfs.mk

  7. Delete sdk debug related bin marked in the figure in project\image\configs\i2m\rootfs.mk

  8. configure sz size used by the project to 0

    The memory of Linux after cropping is as follows.

    DDR:

    64M DDR ~= Total(59028KB) + kernel text(4644KB) + MMAP(1024KB)

    kernel text:

    kernel used = Total(59028KB) - MemFree(47292KB) = 11736KB